﻿using Basic.FormModel.DB;
using Basic.FormModel.Model;

namespace Basic.FormDAL
{
    public interface IPhysicalQueryColumnDAL : IBasicDAL<DBPhysicalQueryColumn, long>
    {
        void SetSort ( ColumnSort sour, ColumnSort to );
        int GetMaxSort ( long tableId, long groupId );
        long Add ( DBPhysicalQueryColumn add );
        ColumnSort[] GetSorts ( long tableId, long groupId );
        void SetSort ( KeyValuePair<long, int>[] sort );
    }
}